import React from 'react';
import ReactDOM from 'react-dom';
import App from './app';

interface MyModule extends NodeModule {
    hot: {
        accept: () => void;
    };
}
const myM: MyModule = module as MyModule;
if (myM && myM.hot) {
    myM.hot.accept();
}

ReactDOM.render(<App />, document.querySelector('#root'));
